﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Macro_stone.PoModel.MyModelPo
{
    /// <summary>
    /// 考勤管理—考勤统计管理—差旅自驾统计
    /// </summary>
    [Table("Drive")]
    public class DrivePo
    {
        /// <summary>
        /// 差旅自驾统计id
        /// </summary>
        [Key]
        public int dri_id { get; set; }
        /// <summary>
        /// 考勤管理—考勤统计管理—考勤统计id
        /// </summary>
        public int sta_id { get; set; }
        /// <summary>
        /// 公里数
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal dri_mileage { get; set; }
        /// <summary>
        /// 天数
        /// </summary>
        public int dri_Number { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        public DateTime dri_Time { get; set; }
        /// <summary>
        /// 费用
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal dri_Cost { get; set; }
        /// <summary>
        /// 小计
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal dri_Subtotal { get; set; }
        /// <summary>
        /// 合计
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal dri_Summation { get; set; }
        /// <summary>
        /// 合计2
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal dri_SummationT { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string dri_projectName { get; set; }
        /// <summary>
        /// 签领人
        /// </summary>
        public string dri_Signatory { get; set; }

    }
}
